#include "List.h"
void test1()
{
	ListNode* list = ListInit();
	LTPushBack(list, 1);
	LTPushBack(list, 2);
	LTPushBack(list, 3);
	LTPushBack(list, 4);
	ListP(list);
	ListPushFront(list, 0);
	ListP(list);
	ListPopBack(list);
	ListP(list);
	ListPopFront(list);
	ListP(list);
	ListNode* plist = ListFind(list, 3);
	printf("%d\n", plist->data);
	ListInsert(plist, 2);
	ListP(list);
	ListErase(plist);
	ListP(list);
}
int main()
{
	test1();
	return 0;
}